package com.mt.api.modules.domain.bo;

import com.mt.api.core.page.BasePage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * @Author: plover
 * @Date: 2020/07/08/4:46 下午
 * @Description:
 */
@Data
public class AppOrderListBo extends BasePage {

    @ApiModelProperty(value = "订单状态 0 未完成 1已完成 2已取消")
    private Integer status;

    @ApiModelProperty(value = "搜索框值")
    private String searchVal;

    @ApiModelProperty(value = "按下单时间倒序 0-否 1-是")
    private Integer orderByDesc;

    @ApiModelProperty(value = "客户id")
    private Integer customerId;

    @ApiModelProperty(value = "订单开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;

    @ApiModelProperty(value = "订单结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    @ApiModelProperty(value = "订单类型 1-销售单 2-销售退回单")
    private Integer type;

    @ApiModelProperty(value = "创建人")
    private String creator;

    @ApiModelProperty(value = "客户")
    private String receiver;
}
